<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>HiAll Administrator's Control Panel</title>
        <link rel="stylesheet" href="css/common.css" type="text/css" media="all" />
    </head>
    <body>
        <div id="append"></div>
        <div class="container">
                <h2 class="admintitle">企业标签列表</h2>

                <div id="srchuserdiv" class="tabcontentcur" style="width:90%;position:relative">
			<form method="POST" action="">
			<table style="width:100%;">
				<tr><td>标签名：<input type="text" name="name" value="<?=$name?>" /></td>
				<td colspan="3"><input type="submit" name="searchSubmit" value="查询" /></td>
				</tr>
			</table>
			<table style="width:100%;">
				<tr>
					<td>
					<input id="j_del" name="delBtn" onclick="return delConfirm()" type="submit" value="删除"/> 
					<input id="j_new" onclick="gonew('<?=$baseUrl?>/index.php?c=TagsManage&a=Add')" type="button" value="新建"/>
					</td>
				</tr>
			</table>
                    <table  class="datalist fixwidth">
						<tbody><tr>
							<th nowrap="nowrap"><input type="checkbox" onclick="checkAll(this)"/></th>
							<th nowrap="nowrap">标签名</th>
							<th nowrap="nowrap">排序</th>
						</tr>
                            <?php 
			    	foreach($dataList as $info){
                             ?>
						<tr>
								<td width="20"><input type="checkbox" jval="1" name="id[]" value="<?=$info['id']?>" /></td>
								<td><a href="<?=$baseUrl?>/index.php?c=TagsManage&a=Edit&id=<?=$info['id']?>" target="_blank"><?=$info['name']?></a></td>
								<td><?=$info['sort_order']?></td>
						</tr>
							<?php
							}
							?>
					</tbody></table>
			</form>
			<table style="width:100%;">
				<tr>
					<td>
					<?=$pageStr?>
					</td>
				</tr>
			</table>
            </div>
        </div>

<script type="text/javascript" src="../EAdmin/js/jquery.js"></script>
        <script type="text/javascript" src="../EAdmin/js/common.js"></script>
    </body>
</html>
